<?PHP

/***************************************************************************
*    This file is part of OSMW.                                            *
*                                                                          *
*    OSMW is free software: you can redistribute it and/or modify          *
*    it under the terms of the GNU General Public License as published by  *
*    the Free Software Foundation, either version 3 of the License, or     *
*    (at your option) any later version.                                   *
*                                                                          *
*    OSMW is distributed in the hope that it will be useful,               *
*    but WITHOUT ANY WARRANTY; without even the implied warranty of        *
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
*    GNU General Public License for more details.                          *
*                                                                          *
*    You should have received a copy of the GNU General Public License     *
*    along with OSMW.  If not, see <http://www.gnu.org/licenses/>.         *
****************************************************************************/

// Open Source MaNGOS Website Load Classes
require('includes/class.main.php');
require('includes/class.config.php');

// Website Initiate -- 
$osmw = new main; 
$config = new setting;
$osmw->CheckVersion($config->version, '1.0');
$osmw->StartConnection($config->host, $config->user, $config->pass);
$osmw->UseDatabase($config->realm);
$osmw->LoadStyle($config->style);


?>